package com.ymatou.operate.trading.api.parameter;

import java.util.List;

import com.ymt.base.BaseBean;
import com.ymttest.common.entitie.OrderGroup;
import com.ymttest.common.entitie.YmatouCoupon;
import com.ymttest.common.enums.AppTerminalSourceEnum;
import com.ymttest.common.enums.OrderSourceEnum;
import com.ymttest.common.enums.TerminalSourceEnum;

/**
 * 创建订单(新)接口Bean FreeMaker Template自动生成代码
 */
public class PlaceOrderReqBean extends BaseBean {


    // 买家ID
    private long userId;

    // 买家级别
    private int userLevel;

    // 订单来源
    private OrderSourceEnum orderSource;

    // 终端来源
    private TerminalSourceEnum terminalSource;

    // 应用终端来源
    private AppTerminalSourceEnum appTerminalSource;

    // 买家IP
    private String sourceIp;

    // 设备ID
    private String deviceId;

    // 订单组列表。一般按买手分组
    private List<OrderGroup> orderGroups;

    // 使用的平台优惠券
    private YmatouCoupon ymatouCoupon;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(int userLevel) {
        this.userLevel = userLevel;
    }

    public OrderSourceEnum getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(OrderSourceEnum orderSource) {
        this.orderSource = orderSource;
    }

    public TerminalSourceEnum getTerminalSource() {
        return terminalSource;
    }

    public void setTerminalSource(TerminalSourceEnum terminalSource) {
        this.terminalSource = terminalSource;
    }

    public AppTerminalSourceEnum getAppTerminalSource() {
        return appTerminalSource;
    }

    public void setAppTerminalSource(AppTerminalSourceEnum appTerminalSource) {
        this.appTerminalSource = appTerminalSource;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getSourceIp() {
        return sourceIp;
    }

    public void setSourceIp(String sourceIp) {
        this.sourceIp = sourceIp;
    }

    public List<OrderGroup> getOrderGroups() {
        return orderGroups;
    }

    public void setOrderGroups(List<OrderGroup> orderGroups) {
        this.orderGroups = orderGroups;
    }

    public YmatouCoupon getYmatouCoupon() {
        return ymatouCoupon;
    }

    public void setYmatouCoupon(YmatouCoupon ymatouCoupon) {
        this.ymatouCoupon = ymatouCoupon;
    }
}
